Page({
  data: {
    active: 0,
    listOne:[{id:1},{id:2}],//待提货列表
    // listOne:[],
    goodsId:'',//提货传id
    listTwo:[{id:1,status:1},{id:2,status:2}],//在途列表
  },
  onChange(event) {
    wx.showToast({
      title: `切换到标签 ${event.detail.name}`,
      icon: 'none',
    });
  },
  goDetail(e){
    console.log(e.mark.id);
    // const taskId = e.mark.id
    wx.navigateTo({
      url: '/subpkg_fask/pages/detail/detail?taskId='+ e.mark.id,
    })
  },
  upGooodsType(){
    wx.$toast('发请求,转换提货状态')
  },
  deliveryType(){
    wx.$toast('发请求,转换交付状态')
  },
  gocarBack(){
    wx.navigateTo({
      url: '/subpkg_fask/pages/carBack/carBack',
    })
  },
  goOnRoad(){
    wx.navigateTo({
      url: '/subpkg_fask/pages/onRoad/onRoad',
    })
  }
});